#include "gui/objects/hud/GUINextSuggestedActionNotification.h"

namespace gui {

GUINextSuggestedActionNotification::GUINextSuggestedActionNotification(RouteController* routeController) {
	this->setTexture("res/img/next-action.bmp", 0, 0, 0, false);
	this->setSizeInMeters(0.0, 0.0);
	switch (routeController->getNextAction()) {
	case Left:
		this->setRotation(3 * PI / 2);
		break;
	case Right:
		this->setRotation(PI / 2);
		break;
	default:
		this->setRotation(0.0);
	}
	// TODO parametrizar.
	this->setPosition(75, 335);
}

GUINextSuggestedActionNotification::~GUINextSuggestedActionNotification() {

}

}
